package com.lin.cms.dao;

import java.util.List;

import org.apache.ibatis.session.RowBounds;

import com.lin.cms.criteria.GroupsCriteria;
import com.lin.cms.domain.Groups;

public interface GroupsMapper {

	Groups selectByPrimaryKey(Integer groupId);

	List<Groups> selectByCriteria(GroupsCriteria criteria);

	int deleteByCriteria(GroupsCriteria example);

	int deleteByPrimaryKey(Integer groupId);

	int insert(Groups record);

	int updateByPrimaryKeySelective(Groups record);

	int updateByPrimaryKey(Groups record);

	List<Groups> selectByPage(GroupsCriteria criteria, RowBounds bounds);

	int countByCriteria(GroupsCriteria example);

}